
<%@ taglib
	uri="http://java.sun.com/jsp/jstl/core"
	prefix="c"%>
<%@ taglib
	uri="http://www.springframework.org/tags"
	prefix="s"%>
<%@ taglib
	uri="http://tiles.apache.org/tags-tiles"
	prefix="t"%>
<%@ taglib
	uri="http://www.springframework.org/tags/form"
	prefix="form"%>
<%@ taglib
	prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>

<title><t:insertAttribute name="title" /></title>
<link
	rel="stylesheet"
	type="text/css"
	href="resources/css/jquery-ui.css" />
<link
	rel="stylesheet"
	type="text/css"
	href="<c:url value="/resources/css/style.css"/>">
<link
	rel="stylesheet"
	type="text/css"
	href="<c:url value="/resources/css/reset.css"/>">
<link
	href="<c:url value="/resources/css/print.css"/>"
	type="text/css"
	rel="stylesheet"
	media="print" />
<script src="resources/jquery-1.7.2.js"></script>
<script
	type="text/javascript"
	src="<c:url value="/resources/scripts/jquery-ui.js"/>"></script>
<script
	type="text/javascript"
	src="<c:url value="/resources/scripts/ui.spinner.min.js"/>"></script>
<script
	language="javascript"
	type="text/javascript"
	src="<c:url value="/resources/scripts/funclib.js"/>"></script>
</head>
<body>

	<div id="wrapper">
		<!-- form name="mainForm" method="POST" id="mainForm"-->
		<!-- div class="aspNetHidden">
			<input
				type="hidden"
				name="__EVENTTARGET"
				id="__EVENTTARGET"
				value="" /> <input
				type="hidden"
				name="__EVENTARGUMENT"
				id="__EVENTARGUMENT"
				value="" /> <input
				type="hidden"
				name="__VIEWSTATE"
				id="__VIEWSTATE"
				value="/wEPDwUENTM4MQ9kFgJmD2QWAmYPZBYCZg9kFgJmD2QWAgIDEGRkFgYCBQ9kFgJmD2QWBGYPDxYCHgRUZXh0BQEwZGQCAQ8PFgQeCENzc0NsYXNzBQxzaG9wcGluZ0NhcnQeBF8hU0ICAmRkAg0PZBYCAgQPZBYCZg9kFgICDQ8QDxYCHgdDaGVja2VkaGRkZGQCEQ9kFgJmD2QWAmYPDxYCHgdWaXNpYmxlaGRkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYDBT1jdGwwMCRjdGwwMCRjdGwwMCRDb250ZW50UGxhY2VIb2xkZXJEZWZhdWx0JExvZ2luU3RhdHVzJGN0bDAxBT1jdGwwMCRjdGwwMCRjdGwwMCRDb250ZW50UGxhY2VIb2xkZXJEZWZhdWx0JExvZ2luU3RhdHVzJGN0bDAzBUxjdGwwMCRjdGwwMCRjdGwwMCRDb250ZW50UGxhY2VIb2xkZXJEZWZhdWx0JGJvZHlDb250ZW50JGhvbWVMb2dpbiRSZW1lbWJlck1ld0DEUFseHz1SJfbPp+yv4YVxoOyFyW/n7i8PFdUzc7U=" />
		</div -->


		<div id="accountMenu">
			<sec:authorize access="isAuthenticated()">
				<h5 id="userName">
					<span>Welcome, <sec:authentication property="principal.first" /> <sec:authentication
							property="principal.last" /> </span>
				</h5>
			</sec:authorize>
			<ul>
				<li><sec:authorize access="isAnonymous()">
						<a href="<c:url value="/create-account"/>"> <span class="red">Create
								Account</span> </a>
					</sec:authorize> <sec:authorize access="isAuthenticated()">
						<a href="<c:url value="/my-aaau"/>"> <span class="red">My AAAU</span> </a>
					</sec:authorize>
				</li>
				<li><span>|</span></li>
				<li><a
					href="<c:url value="/shopping-cart"/>"
					class="cartLink"><span class="txt">My Cart</span><span
						id="ContentPlaceHolderDefault_shopcartCount_2_cartCount"
						class="cartCount">0</span><span
						id="ContentPlaceHolderDefault_shopcartCount_2_cartImage"
						class="shoppingCart">&nbsp;</span> </a></li>
				<li><span>|</span></li>

				<sec:authorize access="isAnonymous()">
					<li><a
						id="LoginStatus"
						class="red"
						href="<c:url value="/"/>"><span class='red'>Login </span> </a></li>
				</sec:authorize>
				<sec:authorize access="isAuthenticated()">
					<li><a
						id="LoginStatus"
						class="red"
						href="<c:url value="/j_spring_security_logout"/>"><span class='red'> Log
								Out </span> </a></li>
				</sec:authorize>

			</ul>

		</div>


		<t:importAttribute
			name="menuSelected"
			ignore="true" />
		<t:importAttribute
			name="link1Class"
			ignore="true" />
		<t:importAttribute
			name="link2Class"
			ignore="true" />
		<div id="topNav">
			<a
				href="<c:url value="/"/>"
				class="aaau-logo"> </a>
			<ul>
				<li
					id="aaau"
					<c:if test="${menuSelected == 'aaau'}">class="selected"</c:if>><a
					href="<c:url value="/home"/>"><span>AAAU</span> </a></li>
				<li
					id="courses"
					<c:if test="${menuSelected == 'courses'}">class="selected"</c:if>><a
					href="<c:url value="/courses"/>"><span>Course Calendar</span> </a></li>
				<li
					id="bookstore"
					<c:if test="${menuSelected == 'bookstore'}">class="selected"</c:if>><a
					href="<c:url value="/bookstore"/>"><span>Bookstore</span> </a></li>
				<li
					id="resource-center"
					<c:if test="${menuSelected == 'resource-center'}">class="selected"</c:if>><a
					href="<c:url value="/resource-center"/>"><span>Resource Center</span> </a></li>
				<li
					id="faculty-staff"
					<c:if test="${menuSelected == 'faculty-staff'}">class="selected"</c:if>><a
					href="<c:url value="/faculty-staff"/>"><span>Faculty &amp; Staff</span> </a></li>
			</ul>


			<c:if test="${not empty menuSelected}">
				<div
					id="topNavHeader"
					class="${menuSelected}">
					<c:choose>
						<c:when test="${menuSelected == 'aaau'}">
							<h2>
								Welcome
								<sec:authorize access="isAnonymous()">Visitors</sec:authorize>
								<sec:authorize access="isAuthenticated()">Professionals</sec:authorize>
							</h2>
						</c:when>
						<c:when test="${menuSelected == 'courses'}">
							<h2>Course Calendar</h2>
						</c:when>
						<c:when test="${menuSelected == 'bookstore'}">
							<h2>Bookstore</h2>
							<div id="topNavSubLinks">
								<a
									class="${link1Class}"
									href="<c:url value="/bookstore"/>">Bookstore</a> <a
									class="${link2Class}"
									href="<c:url value="/bookstore/drj-archives"/>">DR Journal Archives</a>
							</div>
						</c:when>
						<c:when test="${menuSelected == 'resource-center'}">
							<h2>Resource Center</h2>
							<div id="topNavSubLinks">
								<a
									class="${link1Class}"
									href="<c:url value="/resource-center/adr-resources"/>">ADR Resources</a> <a
									class="${link2Class}"
									href="<c:url value="/resource-center/laws-statutes"/>">Laws &amp; Statutes</a>
							</div>
						</c:when>
						<c:when test="${menuSelected == 'faculty-staff'}">
							<h2>Faculty &amp; Staff</h2>
							<div id="topNavSubLinks">
								<a
									class="${link1Class}"
									href="<c:url value="/faculty-staff/faculty"/>">Faculty</a> <a
									class="${link2Class}"
									href="<c:url value="/faculty-staff/staff"/>">AAAU Staff</a>
							</div>
						</c:when>
					</c:choose>
				</div>
			</c:if>



		</div>


		<t:insertAttribute
			name="content"
			ignore="true" />

		<div id="footer">
			<a
				href="http://www.adr.org"
				class="aaau-logo"
				target="_blank">&nbsp;</a>
			<ul>
				<li><a
					href="http://www.adr.org/aaa/faces/rules"
					target="_blank">Rules &amp; Procedures</a></li>
				<li>&#9642;</li>
				<li><a
					href="http://www.adr.org/aaa/faces/aoe"
					target="_blank">Areas of Expertise</a></li>
				<li>&#9642;</li>
				<li><a
					href="http://www.adr.org/aaa/faces/services"
					target="_blank">Services</a></li>
				<li>&#9642;</li>
				<li><a
					href="http://www.adr.org/aaa/faces/arbitratorsmediators"
					target="_blank">Arbitrators &amp; Mediators</a></li>
				<li>&#9642;</li>
				<li><a
					href="http://www.adr.org/aaa/faces/educationresources"
					target="_blank">Education &amp; Resources</a></li>
			</ul>
			<a
				href="http://www.adr.org/aaa/faces/services/fileacase"
				class="btn-file"
				target="_blank">&nbsp;</a>
			<div id="greyFooter">
				<ul>
					<li><a
						href="http://www.adr.org/aaa_mission"
						target="_blank"><span>AAA Mission &amp; Principles</span> </a></li>
					<li><a
						href="http://www.adr.org/aaa_terms"
						target="_blank"><span>Terms of Use</span> </a></li>
					<li><a
						href="http://www.adr.org/aaa_privacy"
						target="_blank"><span>Privacy Policy</span> </a></li>
				</ul>
				<ul>
					<li><a href="<c:url value="/"/>"><span>AAAU Home</span> </a></li>
					<li><a href="<c:url value="/courses"/>"><span>Courses</span> </a></li>
					<li><a href="<c:url value="/bookstore"/>"><span>Bookstore</span> </a></li>
				</ul>
				<ul>
					<li><a href="<c:url value="/resource-center/adr-resources"/>"><span>Articles</span>
					</a></li>
					<li><a href="<c:url value="/resource-center/laws-statutes"/>"><span>Laws
								&amp; Statutes</span> </a></li>
					<li><a href="<c:url value="/faculty-staff/faculty"/>"><span>Faculty</span> </a>
					</li>
					<li><a href="<c:url value="/faculty-staff/staff"/>"><span>AAAU Staff</span>
					</a></li>
				</ul>
				<ul>
					<li><a href="<c:url value="/contact-us"/>"><span>Contact Us</span> </a></li>
					<li><a
						href="#"
						class="referColleague"><span>Forward to Colleague</span> </a></li>
				</ul>
			</div>
		</div>


		<!-- /form-->
	</div>

</body>
</html>
